<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:67:"C:\wamp64\www\tp\public/../application/index\view\user\release.html";i:1526389447;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/static/bootstrap.css">
<script src="/static/jquery.js"></script>
<script src='/static/bootstrap.js'></script>
<title>用户发布信息页面</title>
<style type="text/css">
.first{
	border: 2px solid #CAE1FF;
	box-shadow: 10px 10px 5px #C1CDC1;
	border-radius: 15px;
	background: #C6E2FF;
</style>
</head>
<body>
  <div class='container'>
  
  	<div class='first col-md-4 col-md-offset-4'style='margin-top: 50px;'>
  		<h1 class='text-center'> 发布信息</h1>

      <form  action="<?php echo url('user/release'); ?>" method="post">
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>信息名</big></label>
            <input type='text' class='form-control' name='mname'>
            
         </div>
        
         <div class='form-group'>
            <label class='bg-success'><big>type</big></label>
            <select name='tid' class='form-control'>
            <?php if(is_array($type) || $type instanceof \think\Collection || $type instanceof \think\Paginator): $i = 0; $__LIST__ = $type;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$type): $mod = ($i % 2 );++$i;?>
              <option class='bg-warning' value="<?php echo $type['id']; ?>">
                   <big><?php echo $type['tname']; ?></big>
              </option>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
         </div>
         <div class='form-group'>
            <label class='bg-success'><big>类型</big></label>
            <div class='checkbox form-control'>
                <input type='radio' name='type' value="need"  >
                   <span class="bg-danger" style='margin-right: 20px;'><big>need</big></span>
                <input type='radio' name='type' value="offer" >
                   <span class="bg-danger"><big>offer</big></span>
            </div>
         </div>
         <div class='form-group'>
            <label class='bg-success'><big>desc</big></label>
            <textarea class='form-control' rows="6" name='des'></textarea>
         </div>
         <div class='form-group' style='margin-bottom: 30px;'>
            <button class='btn btn-danger btn-block'>submit</button>
         </div>      
  	 </form>
  	</div>
  </div>
</body>
<script>
$('body').hide();
$('body').fadeIn(1000);
</script>
</html>